package com.huowenjie.entity;

import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

@Document(collection = "test-01")
@Data
public class UserTest {

    @Field("_id")
    private String _id;

    @Field("id")
    private Long id;

    @Field("username")
    private String username;

    @Field("password")
    private String password;


}
